<template>
  <div>
    <van-swipe :autoplay="3000" lazy-render>
      <van-swipe-item v-for="image in props.swiper" :key="image">
        <img
          v-if="image.image_src"
          :src="image.image_src"
          style="width: 100%"
        />
        <img v-else :src="image.pics_big_url" style="width: 100%" />
      </van-swipe-item>
    </van-swipe>
  </div>
</template>

<script setup>
const props = defineProps(["swiper"]);
</script>

<style lang="scss" scoped></style>
